Skip to content

CHP Expansion - #726

Draft
Bill-Becker wants to merge 73 commits into
masterfrom
chp-expand
Draft

CHP Expansion#726
Bill-Becker wants to merge 73 commits into
masterfrom
chp-expand

Conversation

@Bill-Becker

Copy link
Copy Markdown
Collaborator

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Any new Django model inputs have also been added to job/test/posts/all_inputs_test.json

What kind of change does this PR introduce?

(Bug fix, feature, docs update, ...)

What is the current behavior?

(You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change?

(What changes might users need to make in their application due to this PR?)

Other information:

Bill-Becker and others added 30 commits January 31, 2026 10:32
undo solver_name change
@Bill-Becker Bill-Becker changed the title Chp expand CHP Expansion Aug 3, 2026
Bill-Becker and others added 12 commits August 3, 2026 12:43
Align julia_src/Manifest.toml with the uncommitted chp-expand update for REopt.jl PR #608.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…updates

- validators.py: Check for duplicate names within CHP list inputs and raise validation error if found. Prevents silent data loss from name collisions. - process_results.py: Remove unsafe fallback to bulk-update all CHP rows when name is missing. Require explicit name for each CHP in list updates to ensure we target the correct database row.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e PVs

http.jl: Include ':name' in inputs_with_defaults_from_julia_chp and inputs_with_defaults_from_julia_pv arrays. This allows the API to identify which CHP/PV each set of defaults belongs to. - For PV: Handle both single PV (dict) and multiple PV (list) cases when extracting defaults from Julia. Previously only pvs[1] was used, causing other PVs to never receive defaults.

process_results.py: Update PV handling to match CHP pattern - support both dict and list formats for PV updates. Each list item must have a 'name' field to identify the target PV row.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants